<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="./resources/css/default.css" rel="stylesheet" type="text/css" />
        <link href="./resources/css/cssLayout.css" rel="stylesheet" type="text/css" />
        <title>Facelets Template</title>
    </h:head>

    <h:body>

        <div id="top">
            <ui:insert name="top">
                <img src="resources/css/images/banniere.JPG"/>
            </ui:insert>
        </div>
        <div>
            <div id="left">
                <ui:insert name="left">Left</ui:insert>
            </div>
            <div>
                <div id="right">
                    <ui:insert name="right">Right</ui:insert>
                </div>
                <div id="content" class="right_content">
                    <div align="center">
                        <h:form>
                            <h:outputText value="Le login ou le mot de passe est incorrect."/>
                            <br/>
                            <h:outputText value="Veuillez réessayer"></h:outputText>
                            <p:fieldset legend="Authetification">
                                
                                <br />
                                <p>login: <p:inputText value="${etudiant.login}"></p:inputText></p>
                                <p>mot de passe: <p:password value="${etudiant.password}"></p:password></p>
                                <p:commandButton action="${etudiant.valider()}" value="se connecter" ajax="false" />
                            </p:fieldset>
                        </h:form>
                    </div>

                </div>
            </div>
        </div>
        <div id="bottom">
            <ui:insert name="bottom">
                CopyRight (R). 
                <a href="mailto:benammar.riyadh@gmail.com">contact</a>.
                <br/>
                Vous êtes le <h:outputText value="#{visited.count}"></h:outputText>
            </ui:insert>
        </div>

    </h:body>
</html>
